<?php
include ('top.ajax.php');

$db=Database::getInstance();
$sql="DELETE FROM user_rights WHERE id_user='".$_POST['id']."'";
$db->query($sql);
?>